﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{
    /// <summary>
    /// 工艺流程顺序表
    /// </summary>
    [SugarTable("WareHouse.ProcessItemModel", TableDescription = "工艺流程顺序表")]
    public class ProcessItemModel
    {
        /// <summary>
        /// 工艺流程顺序编码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "工艺流程顺序编码")]
        public string PId { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工序编码")]
        public string PMId { get; set; }

        /// <summary>
        /// 工艺流程编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程编码")]
        public string PRId { get; set; }

        /// <summary>
        /// 工艺流程顺序
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程顺序")]
        public int PNum { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", IsNullable =true)]
        public string? Memo { get; set; }

    }
}
